#ifndef __DRV_INA_H
#define __DRV_INA_H

#include "sys.h"


enum
{
	INA_CH_USB1 = 0,
	INA_CH_USB2,
	INA_CH_USB3,
	INA_CH_USB4,
	INA_CH_USB5,
	INA_CH_USB6,
	INA_CH_MAX,
};


/* export func */


void drv_ina_init(void);

void drv_ina_set_res(u8 ch, u16 res);

void drv_ina_get_value(u8 ch, s16 *vol, s16 *ele);






#endif // !__DRV_INA_H
